<?php require VIEW_ROOT.'/common/header.php'?>

<table>
	<tr>
		<td>
			<?php echo $res['content']?>
			<?php echo date('Y-m-d H:i:s', $res['create_time'])?>
		</td>
	</tr>
	<tr>
		<td>
			Rank: <?php echo $res['rank']?>
			&nbsp;&nbsp;&nbsp;&nbsp;
			To:
			<?php if($res['rank'] == 1) {?>
				<a href="?m=note&a=rank& not_id=<?php echo $res['not_id']?>&rank=2">2</a>				
			<?php } elseif($res['rank'] == 2) {?>
				<a href="?m=note&a=rank& not_id=<?php echo $res['not_id']?>&rank=3">3</a>			
			<?php }?>
		</td>
	</tr>
	<tr>
		<td>
			<a href="?m=note&a=form& not_id=<?php echo $res['not_id']?>">Edit</a>
			<a href="?m=note&a=delete& not_id=<?php echo $res['not_id']?>">Delete</a>
		</td>
	</tr>
</table>

<?php require VIEW_ROOT.'/common/footer.php'?>
